Minimum and Maximum of three Numbers